﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace EMoney.IStock.Client.Models.HD
{
    /// <summary>
    /// 回复
    /// </summary>
    [Serializable]
    public class Reply
    {
        /// <summary>
        /// 编号
        /// </summary>
        public int replyid { get; set; }
        /// <summary>
        /// 用户编号
        /// </summary>
        public int authorid { get; set; }
        /// <summary>
        /// 回复内容
        /// </summary>
        public string replycontent { get; set; }
        /// <summary>
        /// 回复时间
        /// </summary>
        public DateTime replytime { get; set; }
        /// <summary>
        /// 引用
        /// </summary>
        public int reference { get; set; }
        /// <summary>
        /// 提问编号
        /// </summary>
        public int topicid { get; set; }
        /// <summary>
        /// 时间
        /// </summary>
        public DateTime lasttime { get; set; }
        /// <summary>
        /// 赞成数
        /// </summary>
        public int yes { get; set; }
        /// <summary>
        /// 反对数
        /// </summary>
        public int no { get; set; }
        public string timeshow { get; set; }
    }

    /// <summary>
    /// 最近问答
    /// </summary>
    [Serializable]
    public class RecentReply
    {
        /// <summary>
        /// 回复编号
        /// </summary>
        public int Replyid { get; set; }
        /// <summary>
        /// 提问编号
        /// </summary>
        public int TopicID { get; set; }
        /// <summary>
        /// 回复时间
        /// </summary>
        public DateTime ReplyTime { get; set; }
        /// <summary>
        /// 特定用户查看
        /// </summary>
        public int SpecificUserID { get; set; }
    }
}
